package com.bonc.excel;


import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;

/**
 * @author wujing
 */
@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class, SecurityAutoConfiguration.class})
@MapperScan("com.bonc.excel.mapper")
public class DymamicExcelMain {
    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(DymamicExcelMain.class);
        springApplication.setAllowCircularReferences(true);
        springApplication.setAllowBeanDefinitionOverriding(true);
        springApplication.run(args);
    }
}